//
//  YZPigDeathDetailRecordCell.h
//  VET
//
//  Created by YZ on 2018/7/19.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YZPigDeathDetailRecordModel.h"
#import "YZPigDeathDetailRecordVideoCell.h"

@protocol YZPigDeathDetailRecordCellDelegate<NSObject>

- (void)deathDetailRecordImgDidSelectetdAtCell:(id)cell sourceUrls:(NSArray<YZPigDeathDetailRecordAttachmentModel *> *)urls sourceView:(YZPigDeathDetailRecordVideoCell *)view;

- (void)deathDetailRecordVideoDidSelectedUrl:(NSString *)url sourceUrls:(NSArray<YZPigDeathDetailRecordAttachmentModel *> *)urls sourceView:(YZPigDeathDetailRecordVideoCell *)view;

@end

@interface YZPigDeathDetailRecordCell : UITableViewCell

@property (nonatomic, weak) id<YZPigDeathDetailRecordCellDelegate>delegate;

@property (nonatomic, strong) YZPigDeathDetailRecordModel *model;

@property (nonatomic, strong, readonly) UICollectionView *imgColloectView;

@end
